package com.rm.zeyou.service;

import com.rm.zeyou.entity.UserAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rm.zeyou.response.ApiRestResponse;
import com.rm.zeyou.vo.request.AddAddressVo;
import com.rm.zeyou.vo.request.GetAddressVo;

/**
 * <p>
 * 用户地址表 服务类
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
public interface UserAddressService extends IService<UserAddress> {

    ApiRestResponse<Integer> addAddress(Long userId, AddAddressVo addVo);

    ApiRestResponse<Integer> deleteAddress(Integer id);

    ApiRestResponse<Integer> updateAddress(Long userId, AddAddressVo updateVo);

    ApiRestResponse<String> getAddress(GetAddressVo requestVo);

    ApiRestResponse<String> indexAddress(GetAddressVo requestVo);

    ApiRestResponse<String> technicianAddress(GetAddressVo requestVo);
}
